﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Aj.Core;

public partial class Manager_LinkList : AuthPageBase
{
    protected DataSet ds = null;

    protected override void OnLoad(EventArgs e)
    {
        base.OnLoad(e);
        try
        {
            // 删除
            if (!string.IsNullOrEmpty(QueryParam("d")) && QueryParamInt32("d") > 0)
            {
                CustomQuery.Link_Delete(QueryParamInt32("d"));
            }

            ds = CustomQuery.Link_GetAll();
        }
        catch (Exception ex)
        {
            Utility.WriteErrorLog(ex);
        }
    }
}